/**
 * 
 */
package com.sci.web.bean;

import com.sci.web.action.util.BeanInterface;

/**
 * @author  BaiFuyou
 * @date: Oct 11, 2011 11:35:34 AM
 * 
 * 城市的列表枚举
 */
public enum CityEnum implements BeanInterface{
	HANGZHOU(1,"杭州"){
		@Override
		public String getText() {
			return this.getName();
		};
	},
	NINGBO(2,"宁波"){
		@Override
		public String getText() {
			return this.getName();
		};
	},
	WENZHOU(3,"温州"){
		@Override
		public String getText() {
			return this.getName();
		};
	},
	SHAOXING(4,"绍兴"){
		@Override
		public String getText() {
			return this.getName();
		};
	},
	JIAXING(5,"嘉兴"){
		@Override
		public String getText() {
			return this.getName();
		};
	},
	HUZHOU(6,"湖州"){
		@Override
		public String getText() {
			return this.getName();
		};
	},
	JINHUA(7,"金华"){
		@Override
		public String getText() {
			return this.getName();
		};
	},
	TAIZHOU(8,"台州"){
		@Override
		public String getText() {
			return this.getName();
		};
	},
	ZHOUSHAN(9,"舟山"){
		@Override
		public String getText() {
			return this.getName();
		};
	},
	LISHUI(10,"丽水"){
		@Override
		public String getText() {
			return this.getName();
		};
	},
	QUZHOU(11,"衢州"){
		@Override
		public String getText() {
			return this.getName();
		};
	},
	YIWU(12,"义乌"){
		@Override
		public String getText() {
			return this.getName();
		};
	},
	SHENGSHUQIYE(2,"省属企业"){
		@Override
		public String getText() {
			return this.getName();
		};
	};
	private Integer index;
	private String name;
	private CityEnum(Integer index,String name){
		this.index = index ;
		this.name = name;
	}
	/**
	 * @return the index
	 */
	public Integer getIndex() {
		return index;
	}
	/**
	 * @param index the index to set
	 */
	public void setIndex(Integer index) {
		this.index = index;
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
}
